package com.wei.health.service;


import com.wei.health.model.dto.BodyInfoQuery;
import com.wei.health.model.dto.BodyInfoSaveDto;
import com.wei.health.model.entity.TBodyInfo;
import com.wei.health.model.vo.BodyInfoDetailVo;
import com.wei.health.model.vo.BodyInfoStatisticsVo;
import com.wei.health.model.vo.PageVo;

import java.util.Date;

public interface HealthService {

	/** 保存身体信息 **/
	void saveBodyInfo(int userId, BodyInfoSaveDto bodyInfoSaveDto);

	/** 获取身体信息列表 **/
	PageVo<TBodyInfo> bodyInfoList(int userId, BodyInfoQuery bodyInfoQuery);

	PageVo<TBodyInfo> userRegisList(BodyInfoQuery bodyInfoQuery);

	/** 删除身体信息 **/
	void deleteBodyInfo(int userId, int id);

	/** 获取身体信息  **/
	BodyInfoDetailVo getBodyInfo(int userId, int id);

	/** 获取身体信息统计 **/
	BodyInfoStatisticsVo getBodyStatistics(int userId, Date date);

}